package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.domain.business.BusinessDO;
import com.qk.dto.business.BusinessDTO;
import com.qk.dto.business.BusinessListDTO;
import com.qk.dto.business.BusinessFollowDTO;
import com.qk.dto.business.PoolDTO;
import com.qk.entity.Business;
import com.qk.vo.business.QueryBusinessVO;

public interface BusinessService extends IService<Business> {
    PageResult<BusinessDO> businessList(BusinessListDTO dto);

    void addBusiness(BusinessDTO dto);

    void backBusiness(Integer id);

    void businessToCustomer(Integer id);

    QueryBusinessVO queryById(Integer id);

    void followBusiness(BusinessFollowDTO dto);

    PageResult<Business> pool(PoolDTO dto);
}
